package com.Maykk.Demo08;

/**
 * @ClassName: SellTicketsTest
 * @Description: TODO 线程同步锁测试
 * @Author: MaykkStar@163.com
 */
public class SellTicketsTest {
    public static void main(String[] args) {
        SellTickets selT = new SellTickets();
        Thread win01 = new Thread(selT, "售票口01");
        Thread win02 = new Thread(selT, "售票口02");
        Thread win03 = new Thread(selT, "售票口03");

        win01.start();
        win02.start();
        win03.start();
    }
}
